package com.py.framework.core.entity;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

/**
 * 系统日志实体
 * @author Leegern
 * @date   2018年5月2日
 */
public class SysLogEntity extends BaseEntity {
	
	/**
	 * 序列号
	 */
	private static final long serialVersionUID = -1730395560637878321L;
	/** 请求IP **/
	private String requestIp;
	/** 请求描述 **/
	private String requestDesc;
	/** 请求资源URL **/
	private String requestUrl;
	/** 请求内容 **/
	private String requestContent;
	/** 系统名称 **/
	private String sysName;
	/** 请求资源URL(去除根路径) **/
	private String shortRequestUrl;
	
	
	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	
	/**
	 * @return the requestIp
	 */
	public String getRequestIp() {
		return requestIp;
	}
	/**
	 * @param requestIp the requestIp to set
	 */
	public void setRequestIp(String requestIp) {
		this.requestIp = requestIp;
	}
	/**
	 * @return the requestDesc
	 */
	public String getRequestDesc() {
		return requestDesc;
	}
	/**
	 * @param requestDesc the requestDesc to set
	 */
	public void setRequestDesc(String requestDesc) {
		this.requestDesc = requestDesc;
	}
	/**
	 * @return the requestUrl
	 */
	public String getRequestUrl() {
		return requestUrl;
	}
	/**
	 * @param requestUrl the requestUrl to set
	 */
	public void setRequestUrl(String requestUrl) {
		this.requestUrl = requestUrl;
	}
	/**
	 * @return the requestContent
	 */
	public String getRequestContent() {
		return requestContent;
	}
	/**
	 * @param requestContent the requestContent to set
	 */
	public void setRequestContent(String requestContent) {
		this.requestContent = requestContent;
	}
	/**
	 * @return the sysName
	 */
	public String getSysName() {
		return sysName;
	}
	/**
	 * @param sysName the sysName to set
	 */
	public void setSysName(String sysName) {
		this.sysName = sysName;
	}
	/**
	 * @return the shortRequestUrl
	 */
	public String getShortRequestUrl() {
		return shortRequestUrl;
	}
	/**
	 * @param shortRequestUrl the shortRequestUrl to set
	 */
	public void setShortRequestUrl(String shortRequestUrl) {
		this.shortRequestUrl = shortRequestUrl;
	}
}